package com.inphase.myfood.dao.base;

import java.io.Serializable;
import java.util.List;

public class BaseServiceImpl<T extends Serializable, PK extends Serializable>
		implements BaseService<T, PK> {

	public BaseDao<T, PK> getBaseDao() {
		return null;
	}

	public T getObjectByPK(PK pk) {
		return (T) getBaseDao().getObjectByPK(pk);
	}

	public List<T> getListObjects() {
		return getBaseDao().getListObjects();
	}

	public List<T> getObjectByParams(String[] params, Object... objects) {
		return getBaseDao().getObjectByParams(params, objects);
	}

}
